package com.murong.ecp.dbs.ccs.domain.enums;

public enum OracleMappingTyp {
    String("VARCHAR2", "String"),
    YGAmt("NUMBER", "YGAmt"),
    BigDecimal("NUMBER", "BigDecimal"),
    Date("DATE", "Date"),
    Timestamp("TIMESTAMP", "Timestamp"),
    Blob("BLOB", "byte[]"),
    Double("FLOAT", "Double"),
    Long("LONG", "Long");

    private final String oracleType;
    private final String javaType;

    OracleMappingTyp(String oracleType, String javaType) {
        this.oracleType = oracleType;
        this.javaType = javaType;
    }

    public String getOracleType() {
        return oracleType;
    }

    public String getJavaType() {
        return javaType;
    }
} 